import  request from '@/utils/request'

const reqMenu ={

   getMenuByUid: async (userid)=>{
     const res = await request.get("/menu?userid=" + userid);
       if(res.data.code!=200)  alert(res.data.message)
        return res.data
   }



}

export default reqMenu;